//
//  ProgressShade.h
//  MBProgressHUD的使用和封装
//
//  Created by 廖易诚 on 16/9/8.
//  Copyright © 2016年 liaoyicheng. All rights reserved.
//

#import <Foundation/Foundation.h>

#import <UIKit/UIKit.h>

@interface ProgressShade : NSObject

/// hud
@property (nonatomic, strong) MBProgressHUD *hud;

/// 是否设置蒙版
@property (nonatomic, assign) BOOL dimBackground;

/// 实例化单利
+ (instancetype)shade;

/// 影藏
- (void)hiddenShade;

/// 普通菊花旋转样式
- (void)showAddtoView:(UIView *)superView;

/// 菊花附带文字样式
- (void)showMessage:(NSString *)message addToView:(UIView *)superView;

/// 菊花附带详细文字样式
- (void)showMessage:(NSString *)message detailMessage:(NSString *)detailMessage addToView:(UIView *)superView;

/// 自定义的View /// 自动影藏
- (void)showCustomView:(UIView *)customView addToView:(UIView *)superView;

/// 纯文本 /// 自动影藏
- (void)showOnlyMessage:(NSString *)message addToView:(UIView *)superView;

/// 显示圆圈进度
- (void)showProgress:(CGFloat)progress addToView:(UIView *)superView;
@end
